/* eslint-disable */

import React,{Component} from 'react';
import {Form,Input,Select,Icon,Menu,Dropdown } from 'antd';
import style from './LabTableConfig.less';
import config from "../../config";
const Option = Select.Option;
const FormItem = Form.Item;
export default class LabTableConfig extends Component{
  state={
    filterDropdownVisible:false
  }
  onChange = (type,text,unit,name)=>{
    this.props[type](unit,text);
    let dropDown = document.getElementById(name);
    dropDown.style.display='none';
  };
  setLi =(length,texts,type,unit,name)=>{
    const lis = [];
    for(let i=0;i<length;i++){
      lis.push(<li onClick={this.onChange.bind(this,type,texts[i],unit,name)}>{texts[i]}</li>);
    }
    return lis;
  };
  hideUl =(name)=> {
    let dropDown = document.getElementById(name);

    if (dropDown.style.display === 'none') {
      dropDown.style.display = 'block';
    } else if (!dropDown.style.display) {
      dropDown.style.display = 'block';
    } else {
      dropDown.style.display = 'none';
    }
  };
  /***
   * BOD分析原始记录，
   * 需要传的参数  params={getFieldDecorator}
   * *****/
  bodAnalysis=(params)=>{
    return {
      title: '五日生化需氧量分析原始记录',
      header:[
        {
          type:'input',
          label:'检测编号',
          paramName:'no1'
        },
        {
          type:'input',
          label:'检测方法',
          paramName:'no2'
        },
        {
          type:'input',
          label:'标准溶液信息',
          initialValue:'硫代硫酸钠（12.8 mmol/L）',
          paramName:'no3'
        },
        {
          type:'input',
          label:'方法检出限',
          paramName:'no4'
        },
        {
          type:'input',
          label:'仪器条件',
          paramName:'no5'
        },
        {
          type:'input',
          label:'样品前处理方法',
          paramName:'no6'
        },
        {
          type:'input',
          label:'计算公式',
          paramName:'no7'
        },
      ],
      columns:[
      {
        title:'序号',
        dataIndex:'1',
        key:'1',
      },
      {
        title:'样品编号',
        dataIndex:'2',
        key:'2'
      },
      {
        title:'稀释倍数',
        dataIndex:'3',
        key:'3',
        render:(text,record,index)=>{
          return(
            <FormItem key={`3-${index}`}>
              {
                params.getFieldDecorator(`3-${index}`, {
                  initialValue: '',
                  rules:[{
                    required:true,
                    message:'信息不能为空'
                  }]
                })(
                  <Input />
                )
              }
            </FormItem>
          );
        }
      },
      {
        title:'培养前',
        key:'4',
        children:[
          {
            title:'用量(mL)',
            dataIndex:'4-1',
            key:'4-1',
            render:(text,record)=>{
              return(
                <FormItem key={record.key}>
                  {
                    params.getFieldDecorator('4-1', {
                      initialValue:'',
                      rules:[{
                        required:true,
                        message:'信息不能为空'
                      }]
                    })(
                      <Input />
                    )
                  }
                </FormItem>
              );
            }
          },{
            title:'DO(mg/L)',
            dataIndex:'4-2',
            key:'4-2',
            render:(text,record)=>{
              return(
                <FormItem key={record.key}>
                  {
                    params.getFieldDecorator('4.2', {
                      initialValue: '',
                      rules:[{
                        required:true,
                        message:'信息不能为空'
                      }]
                    })(
                      <Input />
                    )
                  }
                </FormItem>
              );
            }
          }
        ]
      },
      {
        title:'培养后',
        key:'5',
        children:[
          {
            title:'用量(mL)',
            dataIndex:'5-1',
            key:'5-1',
            render:(text,record)=>{
              return(
                <FormItem key={record.key}>
                  {
                    params.getFieldDecorator('5-1', {
                      initialValue:'',
                      rules:[{
                        required:true,
                        message:'信息不能为空'
                      }]
                    })(
                      <Input />
                    )
                  }
                </FormItem>
              );
            }
          },{
            title:'DO(mg/L)',
            dataIndex:'5-2',
            key:'5-2',
            render:(text,record)=>{
              return(
                <FormItem key={record.key}>
                  {
                    params.getFieldDecorator('5-2', {
                      initialValue:'',
                      rules:[{
                        required:true,
                        message:'信息不能为空'
                      }]
                    })(
                      <Input />
                    )
                  }
                </FormItem>
              );
            }
          }
        ]
      },
      {
        title:'样品浓度(mg/L)',
        dataIndex:'6',
        key:'6',
        render:(text,record)=>{
          return(
            <FormItem key={record.key}>
              {
                params.getFieldDecorator('3', {
                  initialValue: '',
                  rules:[{
                    required:true,
                    message:'信息不能为空'
                  }]
                })(
                  <Input />
                )
              }
            </FormItem>
          );
        }
      },
      {
        title:'备注',
        dataIndex:'7',
        key:'7',
        render:(text,record)=>{
          return(
            <FormItem key={record.key}>
              {
                params.getFieldDecorator('3', {
                  initialValue: '/',
                  rules:[{
                    required:true,
                    message:'信息不能为空'
                  }]
                })(
                  <Input />
                )
              }
            </FormItem>
          );
        }
      },
    ],
      remark:'备注：MB—方法空白； LD—实验室平行样；RM—实验室内质控样；'
    }
  };
  /***
   * JSKD-4-JJA1仪器分析原始记录
   * 需要传的参数  params={
   *                      getFieldDecorator,
   *                      samplingAmount,//取样量单位
   *                      samplingConcentration,//进样浓度单位
   *                      sampleConcentration //样品浓度单位
   *                      }
   * 传给父组件的参数:  this.props.Unit(name,value); //父组件获得更改单位
   * ****/
  jskdAnalysis=(params)=>{
    return {
      title: '仪器分析原始记录',
      header:[
        {
          type:'input',
          label:'检测编号',
          paramName:'no1'
        },
        {
          type:'input',
          label:'检测指标',
          paramName:'no2'
        },
        {
          type:'input',
          label:'检测方法',
          paramName:'no3'
        },
        {
          type:'input',
          label:'仪器信息',
          paramName:'no4'
        },
        {
          type:'input',
          label:'方法检出限',
          paramName:'no5'
        },
        {
          type:'input',
          label:'仪器条件',
          paramName:'no6'
        },
        {
          type:'input',
          label:'样品前处理方法',
          paramName:'no7'
        },
        {
          type:'input',
          label:'标准曲线',
          paramName:'no8'
        },
        {
          type:'input',
          label:'计算公式',
          paramName:'no9'
        },
      ],
      columns:[
        {
          title:'序号',
          dataIndex:'1',
          key:'1'
        },
        {
          title:'样品编号',
          dataIndex:'2',
          key:'2'
        },
        {
          title:`取样量(${params.samplingAmount})`,
          dataIndex:'3',
          key:'3',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown1'}>
                {
                  this.setLi(4,['mL','g','L','m³'],'getUnit','samplingAmount','dropDown1')
                }
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down" onClick={this.hideUl.bind(this,'dropDown1')}/>,
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('3', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'定容体积(mL)',
          dataIndex:'4',
          key:'4',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('4', {
                    initialValue: text ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'稀释倍数',
          dataIndex:'5',
          key:'5',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('5', {
                    initialValue: text ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:`进样浓度(${params.samplingConcentration})`,
          dataIndex:'6',
          key:'6',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown2'}>
                { this.setLi(5,['μg/mL','μg/L','ng/mL','ng/L','mg/L'],'getUnit','samplingConcentration','dropDown2')}
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down"  onClick={this.hideUl.bind(this,'dropDown2')}/>,
          filterMultiple:false,
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('6', {
                    initialValue: text ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:`样品浓度(${params.sampleConcentration})`,
          dataIndex:'7',
          key:'7',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown3'}>
                { this.setLi(6,['mg/L','μg/L','mg/Kg','μg/Kg','mg/m³','μg/m³'],'getUnit','sampleConcentration','dropDown3')}
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down" onClick={this.hideUl.bind(this,'dropDown3')}/>,
          filterMultiple:false,
          render:(text,record,index)=>{
            return(
              <FormItem key={`7-${index}`}>
                {
                  params.getFieldDecorator(`7-${index}`, {
                    initialValue: text ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'备注',
          dataIndex:'8',
          key:'8',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('8', {
                    initialValue:'/',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
      ],
      remark:'备注：CC—持续校准（标线带点检查）；MB—方法空白； LD—实验室平行样；RM—实验室内控样；BS—空白加标；MS-基体加标/样品加标；'
    }
  }
  /****
   * pH酸碱度电导率分析原始记录
   * 需要传的参数  params={
   *                    getFieldDecorator,
   *                    result//测定结果单位
   *                    },
   * 传给父组件的参数:  this.props.Unit(name,value); //父组件获得更改单位
   * *********/
  pHAnalysis=(params)=>{
    return {
      title: 'pH/酸碱度/电导率分析原始记录',
      header:[
        {
          type:'input',
          label:'检测编号',
          paramName:'no1',
        },
        {
          type:'input',
          label:'检测指标',
          paramName:'no2'
        },
        {
          type:'input',
          label:'检测方法',
          paramName:'no3'
        },
        {
          type:'input',
          label:'仪器信息',
          paramName:'no4'
        },
        {
          type:'input',
          label:'方法检出限',
          paramName:'no5'
        },
        {
          type:'input',
          label:'仪器条件',
          paramName:'no6'
        },
        {
          type:'input',
          label:'样品前处理方法',
          paramName:'no7'
        }
      ],
      columns:[
        {
          title:'序号',
          dataIndex:'1',
          key:'1'
        },
        {
          title:'样品编号',
          dataIndex:'2',
          key:'2'
        },
        {
          title:'水温(℃)',
          dataIndex:'3',
          key:'3',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('3', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:`测定结果${params.result}`,
          dataIndex:'4',
          key:'4',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown1'}>
                {
                  this.setLi(3,['无量纲','μs/cm','ms/s'],'getUnit','result','dropDown1')
                }
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down" onClick={this.hideUl.bind(this,'dropDown1')}/>,
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('4', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'备注',
          dataIndex:'5',
          key:'5',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('5', {
                    initialValue:'/',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
      ],
      remark:'备注：MB—方法空白；LD—实验室平行样；RM—实验室内质控样'
    }
  }
  /*****
   * 发热量分析原始记录
   * 需要传的参数  params={getFieldDecorator},
   * ********/
  calorificAnalysis=(params)=>{
    return {
      title: '热值分析原始记录',
      header:[
        {
          type:'input',
          label:'检测编号',
          paramName:'no1'
        },
        {
          type:'input',
          label:'检测方法',
          paramName:'no2'
        },
        {
          type:'input',
          label:'仪器信息',
          paramName:'no3'
        },
        {
          type:'input',
          label:'仪器条件',
          paramName:'no3'
        },
      ],
      columns:[
        {
          title:'序号',
          dataIndex:'1',
          key:'1'
        },
        {
          title:'样品编号',
          dataIndex:'2',
          key:'2'
        },
        {
          title:'取样量(g)',
          dataIndex:'3',
          key:'3',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('3', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },{
          title:'干基高位热值(kJ/kg)',
          dataIndex:'4',
          key:'4',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('4', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'干基低位热值(kJ/kg)',
          dataIndex:'5',
          key:'5',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('5', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'湿基低位热值(kJ/kg)',
          dataIndex:'6',
          key:'6',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('6', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'备注',
          dataIndex:'7',
          key:'7',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('7', {
                    initialValue:'/',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
      ],
      remark:'备注： LD—实验室平行样；'
    }
  }
  /****
   * 感官分析原始记录（一）
   * 需要传的参数  params={
   *                    getFieldDecorator,
   *                    measuredValue,//测得值单位
   *                    concentration //样品浓度单位
   *                    },
   * 传给父组件的参数: this.props.Unit(name,value); //父组件获得更改单位
   * ***/
  sensoryAnalysis1=(params)=>{
    return {
      title: '感官分析原始记录（一）',
      header:[
        {
          type:'input',
          label:'检测编号',
          paramName:'no1'
        },
        {
          type:'input',
          label:'检测指标',
          paramName:'no2'
        },
        {
          type:'input',
          label:'检测方法',
          paramName:'no3'
        },
        {
          type:'input',
          label:'标准溶液配置信息',
          paramName:'no4'
        },
        {
          type:'input',
          label:'方法检出限',
          paramName:'no5'
        },
      ],
      columns:[
        {
          title:'序号',
          dataIndex:'1',
          key:'1'
        },
        {
          title:'样品编号',
          dataIndex:'2',
          key:'2'
        },
        {
          title:'取样量(mL)',
          dataIndex:'3',
          key:'3',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('3', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'稀释倍数',
          dataIndex:'4',
          key:'4',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('4', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:`测得值${params.measuredValue}`,
          dataIndex:'5',
          key:'5',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown1'}>
                {
                  this.setLi(3,['NTU','度','倍'],'getUnit','measuredValue','dropDown1')
                }
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down" onClick={this.hideUl.bind(this,'dropDown1')}/>,
          filterMultiple:false,
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('5', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:`样品浓度${params.concentration}`,
          dataIndex:'6',
          key:'6',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown2'}>
                {
                  this.setLi(3,['NTU','度','倍'],'getUnit','concentration','dropDown2')
                }
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down" onClick={this.hideUl.bind(this,'dropDown2')}/>,
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('4', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'备注',
          dataIndex:'7',
          key:'7',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('4', {
                    initialValue:'/',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
      ],
      remark:''
    }
  }
  /***
   *  感官分析原始记录（二）
   *  需要传的参数  params={getFieldDecorator},
   * **/
  sensoryAnalysis2=(params)=>{
    return {
      title: '感官分析原始记录（二）',
      header:[
        {
          type: 'input',
          label: '检测编号',
          paramName: 'no1'
        },
        {
          type: 'input',
          label: '检测指标',
          paramName: 'no2'
        },
        {
          type: 'input',
          label: '检测方法',
          paramName: 'no3'
        },
      ],
      columns: [
        {
          title: '序号',
          dataIndex: '1',
          key: '1'
        },
        {
          title: '样品编号',
          dataIndex: '2',
          key: '2'
        },
        {
          title: '臭和味',
          key:'3',
          children: [
            {
              title: '取样体积(mL)',
              dataIndex: '3-1',
              key: '3-1',
              render: (text, record) => {
                return (
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('3-1', {
                        initialValue: '',
                        rules: [{
                          required: true,
                          message: '信息不能为空'
                        }]
                      })(
                        <Input/>
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title: '原水样',
              key:'3-2',
              children: [
                {
                  title: '等级',
                  dataIndex: '3-2-1',
                  key: '3-2-1',
                  render: (text, record) => {
                    return (
                      <FormItem key={record.key}>
                        {
                          params.getFieldDecorator('3-2-1', {
                            initialValue: '0',
                            rules: [{
                              required: true,
                              message: '信息不能为空'
                            }]
                          })(
                            (
                              <Select
                                showSearch
                              >
                                <Option value="0">0</Option>
                                <Option value="1">1</Option>
                                <Option value="2">2</Option>
                                <Option value="3">3</Option>
                                <Option value="4">4</Option>
                                <Option value="5">5</Option>
                              </Select>
                            )
                          )
                        }
                      </FormItem>
                    );
                  }
                },
                {
                  title: '强度',
                  dataIndex: '3-2-2',
                  key: '3-2-2',
                  render: (text, record) => {
                    return (
                      <FormItem key={record.key}>
                        {
                          params.getFieldDecorator('3-2-2', {
                            initialValue: '0',
                            rules: [{
                              required: true,
                              message: '信息不能为空'
                            }]
                          })(
                            (
                              <Select
                                showSearch
                              >
                                <Option value="0">无</Option>
                                <Option value="1">微弱</Option>
                                <Option value="2">弱</Option>
                                <Option value="3">明显</Option>
                                <Option value="4">强</Option>
                                <Option value="5">很强</Option>
                              </Select>
                            )
                          )
                        }
                      </FormItem>
                    );
                  }
                },
                {
                  title: '说明',
                  dataIndex: '3-2-3',
                  key: '3-2-3',
                  render: (text, record) => {
                    return (
                      <FormItem key={record.key}>
                        {
                          params.getFieldDecorator('3-2-3', {
                            initialValue: '0',
                            rules: [{
                              required: true,
                              message: '信息不能为空'
                            }]
                          })(
                            (
                              <Select
                                showSearch
                              >
                                <Option value="0">无任何气味</Option>
                                <Option value="1">一般饮用者难于察觉、嗅觉敏感者可以察觉</Option>
                                <Option value="2">一般饮用者刚能察觉</Option>
                                <Option value="3">已有明显察觉</Option>
                                <Option value="4">有很明显的臭味</Option>
                                <Option value="5">有强烈的恶臭</Option>
                              </Select>
                            )
                          )
                        }
                      </FormItem>
                    );
                  }
                },
              ]
            },
            {
              title: '煮沸后',
              key:'3-3',
              children: [
                {
                  title: '等级',
                  dataIndex: '3-3-1',
                  key: '3-3-1',
                  render: (text, record) => {
                    return (
                      <FormItem key={record.key}>
                        {
                          params.getFieldDecorator('3-3-1', {
                            initialValue: '0',
                            rules: [{
                              required: true,
                              message: '信息不能为空'
                            }]
                          })(
                            (
                              <Select
                                showSearch
                              >
                                <Option value="0">0</Option>
                                <Option value="1">1</Option>
                                <Option value="2">2</Option>
                                <Option value="3">3</Option>
                                <Option value="4">4</Option>
                                <Option value="5">5</Option>
                              </Select>
                            )
                          )
                        }
                      </FormItem>
                    );
                  }
                },
                {
                  title: '强度',
                  dataIndex: '3-3-2',
                  key: '3-3-2',
                  render: (text, record) => {
                    return (
                      <FormItem key={record.key}>
                        {
                          params.getFieldDecorator('3-3-2', {
                            initialValue: '0',
                            rules: [{
                              required: true,
                              message: '信息不能为空'
                            }]
                          })(
                            (
                              <Select
                                showSearch
                              >
                                <Option value="0">无</Option>
                                <Option value="1">微弱</Option>
                                <Option value="2">弱</Option>
                                <Option value="3">明显</Option>
                                <Option value="4">强</Option>
                                <Option value="5">很强</Option>
                              </Select>
                            )
                          )
                        }
                      </FormItem>
                    );
                  }
                },
                {
                  title: '说明',
                  dataIndex: '3-3-3',
                  key: '3-3-3',
                  render: (text, record) => {
                    return (
                      <FormItem key={record.key}>
                        {
                          params.getFieldDecorator('3-3-3', {
                            initialValue: '0',
                            rules: [{
                              required: true,
                              message: '信息不能为空'
                            }]
                          })(
                            (
                              <Select
                                showSearch
                              >
                                <Option value="0">无任何气味</Option>
                                <Option value="1">一般饮用者难于察觉、嗅觉敏感者可以察觉</Option>
                                <Option value="2">一般饮用者刚能察觉</Option>
                                <Option value="3">已有明显察觉</Option>
                                <Option value="4">有很明显的臭味</Option>
                                <Option value="5">有强烈的恶臭</Option>
                              </Select>
                            )
                          )
                        }
                      </FormItem>
                    );
                  }
                },
              ]
            },
          ]
        },
        {
          title: '肉眼可见物',
          dataIndex: '4',
          key: '4',
          render: (text, record) => {
            return (
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('4', {
                    initialValue: '0',
                    rules: [{
                      required: true,
                      message: '信息不能为空'
                    }]
                  })(
                    (
                      <Select
                        showSearch
                      >
                        <Option value="0">无</Option>
                        <Option value="1">有</Option>
                      </Select>
                    )
                  )
                }
              </FormItem>
            );
          }
        },
      ],
      remark:''
    }
  }
  /****
   * 固体废物含水率分析原始记录（一）
   * 需要传的参数  params={getFieldDecorator},
   * ***/
  solidRecord1=(params)=>{
    return {
      title: '固体废物含水率分析原始记录（一）',
      header:[
        {
          type:'input',
          label:'检测编号',
          paramName:'no1'
        },
        {
          type:'input',
          label:'检测指标',
          paramName:'no2'
        },
        {
          type:'input',
          label:'检测方法',
          paramName:'no3'
        },
        {
          type:'input',
          label:'仪器信息',
          paramName:'no4'
        },
        {
          type:'input',
          label:'方法检出限',
          paramName:'no5'
        },
        {
          type:'input',
          label:'仪器条件',
          paramName:'no6'
        },
      ],
      columns:[
        {
          title:'序号',
          dataIndex:'1',
          key:'1'
        },
        {
          title:'样品编号',
          dataIndex:'2',
          key:'2'
        },
        {
          title:'取样量(g)',
          dataIndex:'3',
          key:'3',
          render: (text, record) => {
            return (
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('3', {
                    initialValue: '',
                    rules: [{
                      required: true,
                      message: '信息不能为空'
                    }]
                  })(
                    <Input/>
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'容器重(g)',
          children:[
            {
              title:'B1',
              dataIndex:'4-1',
              key:'4-1',
              render: (text, record) => {
                return (
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('4-1', {
                        initialValue: '',
                        rules: [{
                          required: true,
                          message: '信息不能为空'
                        }]
                      })(
                        <Input/>
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title:'B2',
              dataIndex:'4-2',
              key:'4-2',
              render: (text, record) => {
                return (
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('4-2', {
                        initialValue: '',
                        rules: [{
                          required: true,
                          message: '信息不能为空'
                        }]
                      })(
                        <Input/>
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title:'M1',
              dataIndex:'4-3',
              key:'4-3',
              render: (text, record) => {
                return (
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('4-3', {
                        initialValue: '',
                        rules: [{
                          required: true,
                          message: '信息不能为空'
                        }]
                      })(
                        <Input/>
                      )
                    }
                  </FormItem>
                );
              }
            },
          ]
        },
        {
          title:'容器+烘干样品重(g)',
          children:[
            {
              title:'A1',
              dataIndex:'5-1',
              key:'5-1',
              render: (text, record) => {
                return (
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('5-1', {
                        initialValue: '',
                        rules: [{
                          required: true,
                          message: '信息不能为空'
                        }]
                      })(
                        <Input/>
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title:'A2',
              dataIndex:'5-2',
              key:'5-2',
              render: (text, record) => {
                return (
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('5-2', {
                        initialValue: '',
                        rules: [{
                          required: true,
                          message: '信息不能为空'
                        }]
                      })(
                        <Input/>
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title:'M2',
              dataIndex:'5-3',
              key:'5-3',
              render: (text, record) => {
                return (
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('5-3', {
                        initialValue: '',
                        rules: [{
                          required: true,
                          message: '信息不能为空'
                        }]
                      })(
                        <Input/>
                      )
                    }
                  </FormItem>
                );
              }
            },
          ]
        },
        {
          title:'干固体重(g)',
          dataIndex:'6',
          key:'6',
          render: (text, record) => {
            return (
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('6', {
                    initialValue: '',
                    rules: [{
                      required: true,
                      message: '信息不能为空'
                    }]
                  })(
                    <Input/>
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'含水率(%)',
          dataIndex:'7',
          key:'7',
          render: (text, record) => {
            return (
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('7', {
                    initialValue: '',
                    rules: [{
                      required: true,
                      message: '信息不能为空'
                    }]
                  })(
                    <Input/>
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'干固体百分率(%)',
          dataIndex:'8',
          key:'8',
          render: (text, record) => {
            return (
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('8', {
                    initialValue: '',
                    rules: [{
                      required: true,
                      message: '信息不能为空'
                    }]
                  })(
                    <Input/>
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'备注',
          dataIndex:'9',
          key:'9',
          render: (text, record) => {
            return (
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('3-1', {
                    initialValue: '/',
                    rules: [{
                      required: true,
                      message: '信息不能为空'
                    }]
                  })(
                    <Input/>
                  )
                }
              </FormItem>
            );
          }
        },
      ],
      remark:'备注：适用于不含有初始液相的固废样品。'
    }
  }
  /****
   * 固体废物含水率分析原始记录（二）
   * 需要传的参数  params={getFieldDecorator},
   * ***/
  solidRecord2=(params)=>{
    return {
      title: '固体废物含水率分析原始记录（二）',
      header:[
        {
          type:'input',
          label:'检测编号',
          paramName:'no1'
        },
        {
          type:'input',
          label:'检测指标',
          paramName:'no2'
        },
        {
          type:'input',
          label:'检测方法',
          paramName:'no3'
        },
        {
          type:'input',
          label:'仪器信息',
          paramName:'no4'
        },
        {
          type:'input',
          label:'方法检出限',
          paramName:'no5'
        },
        {
          type:'input',
          label:'仪器条件',
          paramName:'no6'
        },
      ],
      columns:[
        {
          title:'序号',
          dataIndex:'1',
          key:'1'
        },
        {
          title:'样品编号',
          dataIndex:'2',
          key:'2'
        },
        {
          title:'初始固液相总重(g)',
          dataIndex:'3',
          key:'3',
          render: (text, record) => {
            return (
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('3', {
                    initialValue: '',
                    rules: [{
                      required: true,
                      message: '信息不能为空'
                    }]
                  })(
                    <Input/>
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'初始液相重(g)',
          dataIndex:'4',
          key:'4',
          render: (text, record) => {
            return (
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('4', {
                    initialValue: '',
                    rules: [{
                      required: true,
                      message: '信息不能为空'
                    }]
                  })(
                    <Input/>
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'滤渣取样量(g)',
          dataIndex:'5',
          key:'5',
          render: (text, record) => {
            return (
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('5', {
                    initialValue: '',
                    rules: [{
                      required: true,
                      message: '信息不能为空'
                    }]
                  })(
                    <Input/>
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'容器重(g)',
          children:[
            {
              title:'B1',
              dataIndex:'6-1',
              key:'6-1',
              render: (text, record) => {
                return (
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('6-1', {
                        initialValue: '',
                        rules: [{
                          required: true,
                          message: '信息不能为空'
                        }]
                      })(
                        <Input/>
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title:'B2',
              dataIndex:'6-2',
              key:'6-2',
              render: (text, record) => {
                return (
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('6-2', {
                        initialValue: '',
                        rules: [{
                          required: true,
                          message: '信息不能为空'
                        }]
                      })(
                        <Input/>
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title:'M1',
              dataIndex:'6-3',
              key:'6-3',
              render: (text, record) => {
                return (
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('6-3', {
                        initialValue: '',
                        rules: [{
                          required: true,
                          message: '信息不能为空'
                        }]
                      })(
                        <Input/>
                      )
                    }
                  </FormItem>
                );
              }
            },
          ]
        },
        {
          title:'容器+烘干样品重(g)',
          children:[
            {
              title:'A1',
              dataIndex:'7-1',
              key:'7-1',
              render: (text, record) => {
                return (
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('7-1', {
                        initialValue: '',
                        rules: [{
                          required: true,
                          message: '信息不能为空'
                        }]
                      })(
                        <Input/>
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title:'A2',
              dataIndex:'7-2',
              key:'7-2',
              render: (text, record) => {
                return (
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('7-2', {
                        initialValue: '',
                        rules: [{
                          required: true,
                          message: '信息不能为空'
                        }]
                      })(
                        <Input/>
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title:'M2',
              dataIndex:'7-3',
              key:'7-3',
              render: (text, record) => {
                return (
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('7-3', {
                        initialValue: '',
                        rules: [{
                          required: true,
                          message: '信息不能为空'
                        }]
                      })(
                        <Input/>
                      )
                    }
                  </FormItem>
                );
              }
            },
          ]
        },
        {
          title:'干固体重(g)',
          dataIndex:'8',
          key:'8',
          render: (text, record) => {
            return (
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('8', {
                    initialValue: '',
                    rules: [{
                      required: true,
                      message: '信息不能为空'
                    }]
                  })(
                    <Input/>
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'滤渣含水率(%)',
          dataIndex:'9',
          key:'9',
          render: (text, record) => {
            return (
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('9', {
                    initialValue: '',
                    rules: [{
                      required: true,
                      message: '信息不能为空'
                    }]
                  })(
                    <Input/>
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'干固体百分率(%)',
          dataIndex:'10',
          key:'10',
          render: (text, record) => {
            return (
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('10', {
                    initialValue: '',
                    rules: [{
                      required: true,
                      message: '信息不能为空'
                    }]
                  })(
                    <Input/>
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'备注',
          dataIndex:'11',
          key:'11',
          render: (text, record) => {
            return (
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('11', {
                    initialValue: '/',
                    rules: [{
                      required: true,
                      message: '信息不能为空'
                    }]
                  })(
                    <Input/>
                  )
                }
              </FormItem>
            );
          }
        },
      ],
      remark:'备注：适用于含有初始液相的固废样品。'
    }
  }
  /****
   * 离子选择电极分析原始记录
   * 需要传的参数  params={
   *                    getFieldDecorator,
   *                    amount,//取样量单位
   *                    concentration //样品浓度单位
   *                    },
   * 传给父组件的参数: this.props.Unit(name,value); //父组件获得更改单位
   * ***/
  lonSelective=(params)=>{
    return {
      title: '离子选择电极分析原始记录',
      header:[
        {
          type: 'input',
          label: '检测编号',
          paramName: 'no1'
        },
        {
          type: 'input',
          label: '检测指标',
          paramName: 'no2'
        },
        {
          type: 'input',
          label: '检测方法',
          paramName: 'no3'
        },
        {
          type: 'input',
          label: '仪器信息',
          paramName: 'no4'
        },
        {
          type: 'input',
          label: '方法检出限',
          paramName: 'no5'
        },
        {
          type: 'input',
          label: '仪器条件',
          paramName: 'no6'
        },
        {
          type: 'input',
          label: '样品前处理方法',
          paramName: 'no7'
        },
        {
          type: 'input',
          label: '标准曲线',
          paramName: 'no8'
        },
        {
          type: 'input',
          label: '计算公式',
          paramName: 'no9'
        },
      ],
      columns: [
        {
          title: '序号',
          dataIndex: '1',
          key: '1'
        },
        {
          title: '样品编号',
          dataIndex: '2',
          key: '2'
        }, {
          title: `取样量(${params.amount})`,
          dataIndex: '3',
          key: '3',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown1'}>
                {
                  this.setLi(3,['mL','g','L'],'getUnit','amount','dropDown1')
                }
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down" onClick={this.hideUl.bind(this,'dropDown1')}/>,
          render:(text,record,index)=>{
            return(
              <FormItem key={`3-${index}`}>
                {
                  params.getFieldDecorator(`3-${index}`, {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title: '稀释倍数',
          dataIndex: '4',
          key: '4',
          render:(text,record,index)=>{
            return(
              <FormItem key={`4-${index}`}>
                {
                  params.getFieldDecorator(`4-${index}`, {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title: '电极电位(mV)',
          dataIndex: '5',
          key: '5',
          render:(text,record,index)=>{
            return(
              <FormItem key={`5-${index}`}>
                {
                  params.getFieldDecorator(`5-${index}`, {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title: '测得值(μg)',
          dataIndex: '6',
          key: '6',
          render:(text,record,index)=>{
            return(
              <FormItem key={`6-${index}`}>
                {
                  params.getFieldDecorator(`6-${index}`, {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title: `样品浓度(${params.concentration})`,
          dataIndex: '7',
          key: '7',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown2'}>
                {
                  this.setLi(5,['mg/L','mg/Kg','μg/m³','%','mg/m³'],'getUnit','concentration','dropDown2')
                }
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down" onClick={this.hideUl.bind(this,'dropDown2')}/>,
          render:(text,record,index)=>{
            return(
              <FormItem key={`7-${index}`}>
                {
                  params.getFieldDecorator(`7-${index}`, {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title: '备注',
          dataIndex: '8',
          key: '8',
          render:(text,record,index)=>{
            return(
              <FormItem key={`8-${index}`}>
                {
                  params.getFieldDecorator(`8-${index}`, {
                    initialValue: '/' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
      ],
      remark:'备注：CC—持续校准（标线带点检查）；MB—方法空白； LD—实验室平行样；RM—实验室内控样；BS—空白加标；MS-基体加标/样品加标；'
    }
  }
  /***
   * 两虫分析原始记录
   *  需要传的参数  params={getFieldDecorator},
   * ***/
  insectRecord=(params)=>{
    return {
      title: '两虫分析原始记录',
      header:[
        {
          type:'input',
          label:'检测编号',
          paramName:'no1'
        },
        {
          type:'input',
          label:'检测指标',
          paramName:'no2'
        },
        {
          type:'input',
          label:'检测方法',
          paramName:'no3'
        },
        {
          type:'input',
          label:'仪器信息',
          paramName:'no4'
        },
        {
          type:'input',
          label:'方法检出限',
          paramName:'no5'
        },
        {
          type:'input',
          label:'仪器条件',
          paramName:'no6'
        },
        {
          type:'input',
          label:'样品前处理方法',
          paramName:'no7'
        },
      ],
      columns:[
        {
          title:'序号',
          dataIndex:'1',
          key:'1'
        },
        {
          title:'样品编号',
          dataIndex:'2',
          key:'2'
        },
        {
          title:'采样体积(L)',
          dataIndex:'3',
          key:'3',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('3', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'计数样本中孢（卵）囊数X',
          children:[
            {
              title:'贾地鞭毛虫',
              dataIndex:'4-1',
              key:'4-1',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('4-1', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title:'隐孢子虫',
              dataIndex:'4-2',
              key:'4-2',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('4-2', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
          ]
        },
        {
          title:'每10升水中孢（卵）囊数Y',
          children:[
            {
              title:'贾地鞭毛虫',
              dataIndex:'5-1',
              key:'5-1',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('5-1', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title:'隐孢子虫',
              dataIndex:'5-2',
              key:'5-2',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('5-2', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
          ]
        },
      ],
      remark:'备注： LD—实验室平行样；RM—实验室内控样；'
    }
  }
  /****
   * 容量分析原始记录
   * 需要传的参数  params={
   *                    getFieldDecorator,
   *                    amount,//取样量单位
   *                    standard,//标准液用量单位单位
   *                    concentration //样品浓度单位
   *                    },
   * 传给父组件的参数: this.props.Unit(name,value); //父组件获得更改单位
   * ****/
  capacityAnalysis=(params)=>{
    return {
      title: '容量分析原始记录',
      header:[
        {
          type:'input',
          label:'检测编号',
          paramName:'no1'
        },
        {
          type:'input',
          label:'检测指标',
          paramName:'no2'
        },
        {
          type:'input',
          label:'检测方法',
          paramName:'no3'
        },
        {
          type:'input',
          label:'仪器信息',
          paramName:'no4'
        },
        {
          type:'input',
          label:'方法检出限',
          paramName:'no5'
        },
        {
          type:'input',
          label:'仪器条件',
          paramName:'no6'
        },
        {
          type:'input',
          label:'样品前处理方法',
          paramName:'no7'
        },
        {
          type:'input',
          label:'计算公式',
          paramName:'no8'
        },
      ],
      columns:[
        {
          title:'序号',
          dataIndex:'1',
          key:'1'
        },
        {
          title:'样品编号',
          dataIndex:'2',
          key:'2'
        },
        {
          title: `取样量(${params.amount})`,
          dataIndex: '3',
          key: '3',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown1'}>
                {
                  this.setLi(3,['mL','mL','L'],'getUnit','amount','dropDown1')
                }
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down" onClick={this.hideUl.bind(this,'dropDown1')}/>,
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('3', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'稀释倍数',
          dataIndex:'4',
          key:'4'
        },
        {
          title: `标准液用量(${params.standard})`,
          dataIndex: '5',
          key: '5',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown2'}>
                {
                  this.setLi(3,['μg/mL','μg/L','mg/L'],'getUnit','standard','dropDown2')
                }
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down" onClick={this.hideUl.bind(this,'dropDown2')}/>,
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('5', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title: `样品浓度(${params.concentration})`,
          dataIndex: '6',
          key: '6',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown3'}>
                {
                  this.setLi(5,['mg/L','mg/Kg','μg/m³','%','mg/m³'],'getUnit','concentration','dropDown3')
                }
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down" onClick={this.hideUl.bind(this,'dropDown3')}/>,
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('7', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'备注',
          dataIndex:'7',
          key:'7'
        },
      ],
      remark:'备注：MB—方法空白； LD—实验室平行样；RM—实验室内质控样；'
    }
  }
  /***
   * 三点比较式臭袋法厂界环境臭气测定结果登记表
   * **/
  communityEnvironment=(params)=>{
    return {
      title: '三点比较式臭袋法厂界环境臭气测定结果登记表',
      header:[
        {
          type:'input',
          label:'检测编号',
          paramName:'no1'
        },
        {
          type:'input',
          label:'检测方法',
          paramName:'no2'
        },
        {
          type:'input',
          label:'嗅辨员①',
          paramName:'no3'
        },
        {
          type:'input',
          label:'嗅辨员②',
          paramName:'no4'
        },
        {
          type:'input',
          label:'嗅辨员③',
          paramName:'no5'
        },
        {
          type:'input',
          label:'嗅辨员④',
          paramName:'no6'
        },
        {
          type:'input',
          label:'嗅辨员⑤',
          paramName:'no7'
        },
        {
          type:'input',
          label:'嗅辨员⑥',
          paramName:'no8'
        },
      ],
      columns:[],
      remark:'注：√正确  ×错误  △不明     M—小组平均正解率；   t1— 小组平均正解率M1时的稀释；   t2— 小组平均正解率M2时的稀释；\n' +
      '    小组平均正解率M=  a—答案正确的人次数；  b—答案不明的人次数；  c—答案为错误的人次数；  n—解答总数（18人次）;'
    }
  }
  /***
   * 三点比较式臭袋法污染源臭气测定结果登记表
   * **/
  pollutionSources=(params)=>{
    return {
      title: '三点比较式臭袋法污染源臭气测定结果登记表',
      header:[
        {
          type:'input',
          label:'检测编号',
          paramName:'no1'
        },
        {
          type:'input',
          label:'检测方法',
          paramName:'no2'
        },
        {
          type:'input',
          label:'嗅辨员①',
          paramName:'no3'
        },
        {
          type:'input',
          label:'嗅辨员②',
          paramName:'no4'
        },
        {
          type:'input',
          label:'嗅辨员③',
          paramName:'no5'
        },
        {
          type:'input',
          label:'嗅辨员④',
          paramName:'no6'
        },
        {
          type:'input',
          label:'嗅辨员⑤',
          paramName:'no7'
        },
        {
          type:'input',
          label:'嗅辨员⑥',
          paramName:'no8'
        },
      ],
      columns:[],
      remark:''
    }
  }
  /***
   * 微生物分析原始记录
   * 需要传的参数  params={
   *                    getFieldDecorator,
   *                    result,//检测结果单位
   *                    },
   * 传给父组件的参数: this.props.Unit(name,value); //父组件获得更改单位
   ***/
  microbiologicalAnalysis=(params)=>{
    return {
      title: '微生物分析原始记录',
      header:[
        {
          type:'input',
          label:'检测编号',
          paramName:'no1'
        },
        {
          type:'input',
          label:'检测指标',
          paramName:'no2'
        },
        {
          type:'input',
          label:'检测方法',
          paramName:'no3'
        },
        {
          type:'input',
          label:'仪器信息',
          paramName:'no4'
        },
        {
          type:'input',
          label:'培养条件',
          paramName:'no5'
        },
      ],
      columns:[
        {
          title:'序号',
          dataIndex:'1',
          key:'1'
        },
        {
          title:'样品编号',
          dataIndex:'2',
          key:'2'
        },
        {
          title:'不同稀释度的平均菌落数',
          key:'3',
          children:[
            {
              title:'10^1',
              dataIndex:'3-1',
              key:'3-1',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('3-1', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title:'10^0',
              dataIndex:'3-2',
              key:'3-2',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('3-2', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title:'10^-1',
              dataIndex:'3-3',
              key:'3-3',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('3-3', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title:'10^-2',
              dataIndex:'3-4',
              key:'3-4',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('3-4', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title:'10^-3',
              dataIndex:'3-5',
              key:'3-5',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('3-5', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title:'10^-4',
              dataIndex:'3-6',
              key:'3-6',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('3-6', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
          ]
        },
        {
          title:`检测结果(${params.result})`,
          dataIndex:'4',
          key:'4',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown1'}>
                {
                  this.setLi(5,['MPN/L','个/mL','MPN/100mL','个/g','CFU/mL'],'getUnit','result','dropDown1')
                }
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down" onClick={this.hideUl.bind(this,'dropDown1')}/>,
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('4', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'备注',
          dataIndex:'5',
          key:'5',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('5', {
                    initialValue: '/' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
      ],
      remark:'备注：MB—方法空白； LD—实验室平行样'
    }
  }
  /***
   * 仪器分析原始记录（二）
   * 需要传的参数  params={
   *                    getFieldDecorator,
   *                    amount,//取样量单位
   *                    result,//测得结果单位
   *                    },
   * 传给父组件的参数: this.props.Unit(name,value); //父组件获得更改单位
   * ***/
  instrumentAnalysis2=(params)=>{
    return {
      title: '仪器分析原始记录（二）',
      header:[
        {
          type:'input',
          label:'检测编号',
          paramName:'no1'
        },
        {
          type:'input',
          label:'检测指标',
          paramName:'no2'
        },
        {
          type:'input',
          label:'检测方法',
          paramName:'no3'
        },
        {
          type:'input',
          label:'仪器信息',
          paramName:'no4'
        },
        {
          type:'input',
          label:'方法检出限',
          paramName:'no5'
        },
        {
          type:'input',
          label:'仪器条件',
          paramName:'no6'
        },
        {
          type:'input',
          label:'样品前处理方法',
          paramName:'no7'
        },
      ],
      columns:[
        {
          title:'序号',
          dataIndex:'1',
          key:'1'
        },
        {
          title:'样品编号',
          dataIndex:'2',
          key:'2'
        },
        {
          title:`取样量(${params.amount})`,
          dataIndex:'3',
          key:'3',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown1'}>
                {
                  this.setLi(3,['g','mL','L'],'getUnit','amount','dropDown1')
                }
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down" onClick={this.hideUl.bind(this,'dropDown1')}/>,
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('3', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:`检测结果(${params.result})`,
          dataIndex:'4',
          key:'4',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown2'}>
                {
                  this.setLi(5,['L/(kg.min)','L/(kg.h)','℃','s','min'],'getUnit','result','dropDown2')
                }
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down" onClick={this.hideUl.bind(this,'dropDown2')}/>,
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('4', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'判定结果',
          dataIndex:'5',
          key:'5',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('5', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'备注',
          dataIndex:'6',
          key:'6',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('6', {
                    initialValue: '/' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
      ],
      remark:'适用范围：适用于反应性和易燃性鉴别的物质。'
    }
  }
  /***
   * 仪器分析原始记录（三）
   * 需要传的参数  params={
   *                    getFieldDecorator,
   *                    amount,//取样量单位
   *                    samplingConcentration,//进样浓度单位
   *                    sampleConcentration,//样品浓度单位
   *                    },
   * 传给父组件的参数: this.props.Unit(name,value); //父组件获得更改单位
   * ***/
  instrumentAnalysis3=(params)=>{
    return {
      title: '仪器分析原始记录（三）',
      header:[
        {
          type:'input',
          label:'检测编号',
          paramName:'no1'
        },
        {
          type:'input',
          label:'检测指标',
          paramName:'no2'
        },
        {
          type:'input',
          label:'检测方法',
          paramName:'no3'
        },
        {
          type:'input',
          label:'仪器信息',
          paramName:'no4'
        },
        {
          type:'input',
          label:'方法检出限',
          paramName:'no5'
        },
        {
          type:'input',
          label:'仪器条件',
          paramName:'no6'
        },
        {
          type:'input',
          label:'样品前处理方法',
          paramName:'no7'
        },
        {
          type:'input',
          label:'标准曲线',
          paramName:'no8'
        },
        {
          type:'input',
          label:'计算公式',
          paramName:'no9'
        },
      ],
      columns:[
        {
          title:'序号',
          dataIndex:'1',
          key:'1'
        },
        {
          title:'样品编号',
          dataIndex:'2',
          key:'2'
        },
        {
          title:`取样量(${params.amount})`,
          dataIndex:'3',
          key:'3',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown1'}>
                {
                  this.setLi(3,['mL','g','L'],'getUnit','amount','dropDown1')
                }
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down" onClick={this.hideUl.bind(this,'dropDown1')}/>,
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('3', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'定容体积(mL)',
          dataIndex:'4',
          key:'4',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('4', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'稀释倍数',
          dataIndex:'5',
          key:'5',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('5', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'减空白后吸光度',
          dataIndex:'6',
          key:'6',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('6', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:`进样浓度(${params.samplingConcentration})`,
          dataIndex:'7',
          key:'7',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown2'}>
                {
                  this.setLi(3,['μg/mL','μg/L','mg/L'],'getUnit','samplingConcentration','dropDown2')
                }
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down" onClick={this.hideUl.bind(this,'dropDown2')}/>,
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('7', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:`样品浓度(${params.sampleConcentration})`,
          dataIndex:'8',
          key:'8',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown3'}>
                {
                  this.setLi(5,['mg/L','mg/Kg','g/Kg','%','mg/m³'],'getUnit','sampleConcentration','dropDown3')
                }
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down" onClick={this.hideUl.bind(this,'dropDown3')}/>,
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('8', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'备注',
          dataIndex:'9',
          key:'9',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('9', {
                    initialValue:'/',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        }
      ],
      remark:'备注：CC—持续校准（标线带点检查）；MB—方法空白； LD—实验室平行样；RM—实验室内控样；BS—空白加标；MS-基体加标/样品加标；'
    }
  }
  /****
   * 职业卫生粉尘滤膜称量记录
   * 需要传的参数  params={getFieldDecorator},
   * ***/
  occupationalHealth=(params)=>{
    return {
      title: '职业卫生粉尘滤膜称量记录',
      header:[
        {
          type:'input',
          label:'检测编号',
          paramName:'no1'
        },
        {
          type:'input',
          label:'检测方法',
          paramName:'no2'
        },
        {
          type:'input',
          label:'仪器信息',
          paramName:'no3'
        },
        {
          type:'input',
          label:'计算公式',
          paramName:'no4'
        },
        {
          type:'input',
          label:'样品前处理方法',
          paramName:'no5'
        },
      ],
      columns:[
        {
          title:'序号',
          dataIndex:'1',
          key:'1'
        },
        {
          title:'样品编号',
          dataIndex:'2',
          key:'2'
        },
        {
          title:'采样前滤膜质量(mg)',
          dataIndex:'3',
          key:'3',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('3', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'采样前滤膜质量(mg)',
          dataIndex:'4',
          key:'4',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('4', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'滤膜增重(mg)',
          dataIndex:'5',
          key:'5',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('5', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'采样体积(m3)',
          dataIndex:'6',
          key:'6',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('6', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'浓度(mg/m3)',
          dataIndex:'7',
          key:'7',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('7', {
                    initialValue:'',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'备注',
          dataIndex:'8',
          key:'8',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('8', {
                    initialValue:'/',
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
      ],
      remark:''
    }
  }
  /****
   * 重量分析原始记录
   * 需要传的参数  params={
   *                    getFieldDecorator,
   *                    amount,//取样量单位
   *                    concentration,//样品浓度单位
   *                    },
   * 传给父组件的参数:this.props.Unit(name,value); //父组件获得更改单位
   * **/
  weightAnalysis=(params)=>{
    return {
      title: '重量分析原始记录',
      header:[
        {
          type: 'input',
          label: '检测编号',
          paramName: 'no1'
        },
        {
          type: 'input',
          label: '检测指标',
          paramName: 'no2'
        },
        {
          type: 'input',
          label: '检测方法',
          paramName: 'no3'
        },
        {
          type: 'input',
          label: '仪器信息',
          paramName: 'no4'
        },
        {
          type: 'input',
          label: '方法检出限',
          paramName: 'no5'
        },
        {
          type: 'input',
          label: '仪器条件',
          paramName: 'no6'
        },
        {
          type: 'input',
          label: '样品前处理方法',
          paramName: 'no7'
        },
      ],
      columns: [
        {
          title: '序号',
          dataIndex: '1',
          key: '1'
        },
        {
          title: '样品编号',
          dataIndex: '2',
          key: '2'
        },
        {
          title:`取样量(${params.amount})`,
          dataIndex:'3',
          key:'3',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown1'}>
                {
                  this.setLi(3,['mL','g','L'],'getUnit','amount','dropDown1')
                }
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down" onClick={this.hideUl.bind(this,'dropDown1')}/>,
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('3', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title: '容器重(g)',
          children: [
            {
              title: 'A1',
              dataIndex: '4-1',
              key: '4-1',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('4-1', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title: 'A2',
              dataIndex: '4-2',
              key: '4-2',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('4-2', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title: 'M1',
              dataIndex: '4-3',
              key: '4-3',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('4-3', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
          ]
        },
        {
          title: '烘干后容器+样品重(g)',
          children: [
            {
              title: 'B1',
              dataIndex: '5-1',
              key: '5-1',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('5-1', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title: 'B2',
              dataIndex: '5-2',
              key: '5-2',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('5-2', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title: 'M2',
              dataIndex: '5-3',
              key: '5-3',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('5-3', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
          ]
        },
        {
          title: '灼烧后容器+样品重(g)',
          children: [
            {
              title: 'C1',
              dataIndex: '6-1',
              key: '6-1',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('6-1', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title: 'C2',
              dataIndex: '6-2',
              key: '6-2',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('6-2', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
            {
              title: 'M3',
              dataIndex: '6-3',
              key: '6-3',
              render:(text,record)=>{
                return(
                  <FormItem key={record.key}>
                    {
                      params.getFieldDecorator('6-3', {
                        initialValue: '' ,
                        rules:[{
                          required:true,
                          message:'信息不能为空'
                        }]
                      })(
                        <Input />
                      )
                    }
                  </FormItem>
                );
              }
            },
          ]
        },
        {
          title: '样品重(g)',
          dataIndex: '7',
          key: '7',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('7', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title: `样品浓度${params.concentration}`,
          dataIndex: '8',
          key: '8',
          filterDropdown:(
            <div>
              <ul className={style.jymUl} id={'dropDown2'}>
                {
                  this.setLi(3,['mg/L','%','mg/m³'],'getUnit','concentration','dropDown2')
                }
              </ul>
            </div>
          ),
          filterIcon: <Icon type="down" onClick={this.hideUl.bind(this,'dropDown2')}/>,
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('8', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title: '备注',
          dataIndex: '9',
          key: '9',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('9', {
                    initialValue: '/' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
      ],
      remark:'备注： MB—方法空白； LD—实验室平行样；'
    }
  }
  /****
   * 总αβ放射性测定原始记录
   * 需要传的参数  params={getFieldDecorator,}
   * ***/
  radiationMeasurement=(params)=>{
    return {
      title: '总αβ放射性测定原始记录',
      header:[
        {
          type:'input',
          label:'检测编号',
          paramName:'no1'
        },
        {
          type:'input',
          label:'检测方法',
          paramName:'no2'
        },
        {
          type:'input',
          label:'仪器信息',
          paramName:'no3'
        },
        {
          type:'input',
          label:'方法检出限',
          paramName:'no4'
        },
        {
          type:'input',
          label:'仪器条件',
          paramName:'no5'
        },
        {
          type:'input',
          label:'样品前处理方法',
          paramName:'no6'
        },
      ],
      columns:[
        {
          title:'序号',
          dataIndex:'1',
          key:'1'
        },
        {
          title:'样品编号',
          dataIndex:'2',
          key:'2'
        },
        {
          title:'取样体积(L)',
          dataIndex:'3',
          key:'3',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('3', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'坩埚重(g)',
          dataIndex:'4',
          key:'4',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('4', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'坩埚+样品重(g)',
          dataIndex:'5',
          key:'5',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('5', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'样品重',
          dataIndex:'6',
          key:'6',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('6', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'α计数(次)',
          dataIndex:'7',
          key:'7',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('7', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'β计数(次)',
          dataIndex:'8',
          key:'8',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('8', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'总α浓度(Bq/L)',
          dataIndex:'9',
          key:'9',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('9', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
        {
          title:'总β浓度(Bq/L)',
          dataIndex:'10',
          key:'10',
          render:(text,record)=>{
            return(
              <FormItem key={record.key}>
                {
                  params.getFieldDecorator('10', {
                    initialValue: '' ,
                    rules:[{
                      required:true,
                      message:'信息不能为空'
                    }]
                  })(
                    <Input />
                  )
                }
              </FormItem>
            );
          }
        },
      ],
      remark:'备注： MB—方法空白； LD—实验室平行样；'
    }
  }
  render(){
    return <div></div>;
  }
}
